//
//  VideoCaptureActionView.h
//  OnionHome
//
//  Created by fengjie on 2019/10/8.
//  Copyright © 2019 FengJie. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "VideoCaptureProgressView.h"

NS_ASSUME_NONNULL_BEGIN


//typedef NS_ENUM(NSUInteger, CEVehicleVideoCaptureStatus) {
//    CEVehicleVideoCaptureStatusReady,
//    CEVehicleVideoCaptureStatusCapturing,
//    CEVehicleVideoCaptureStatusCaptured,
//    CEVehicleVideoCaptureStatusUndo,
//    CEVehicleVideoCaptureStatusFinished,
//};


@interface VideoCaptureActionView : UIView

@property (assign, nonatomic) CEVehicleVideoCaptureStatus status;

//@property (strong, nonatomic) VideoCaptureProgressView *videoProgressView;

@property (strong, nonatomic) UIView *videoDurationView;
@property (strong, nonatomic) UIView *durationDotView;
@property (strong, nonatomic) UILabel *durationLabel;

@property (strong, nonatomic) UIButton *undoBtn;
@property (strong, nonatomic) UIButton *deleteBtn;
@property (strong, nonatomic) UIButton *captureBtn;
@property (strong, nonatomic) UIButton *doneBtn;

- (void)updateDurationLabel:(NSTimeInterval)duration;

@end

NS_ASSUME_NONNULL_END
